//
//  LPTitleViewButton.m
//  彩票
//
//  Created by liupan on 2016/12/1.
//  Copyright © 2016年 liupan. All rights reserved.
//

#import "LPTitleViewButton.h"

@implementation LPTitleViewButton

- (void)layoutSubviews{

    [super layoutSubviews];
    self.titleLabel.x=self.imageView.x;
    if (self.imageView.x < self.titleLabel.x) {
        self.imageView.x=CGRectGetMaxX(self.titleLabel.frame);
    }
}

@end
